package thread.produce_customer_base_muti_die;

/**
 * Created by mHandler on 2018/6/2 0002.
 * Description:
 */
public class ThreadC extends Thread {

    private Customer producer;
    public ThreadC(Customer producer){
        super();
        this.producer = producer;
    }

    @Override
    public void run() {
        super.run();
        while (true)
        producer.getValue();
    }
}
